#ifndef LIGHT_STRUCT_H
#define LIGHT_STRUCT_H

struct Light {
	int id;
	float diffuse[3];
	float specular[3];
	float ambient[3];
	float position[4];

	Light(int id) {
		this->id = id;
	}

	void SetDiffuse(float r, float g, float b) {
		diffuse[0] = r;
		diffuse[1] = g;
		diffuse[2] = b;
	}

	void SetSpecular(float r, float g, float b) {
		specular[0] = r;
		specular[1] = g;
		specular[2] = b;
	}

	void SetAmbient(float r, float g, float b) {
		ambient[0] = r;
		ambient[1] = g;
		ambient[2] = b;
	}

	void SetPosition(float x, float y, float z, float w) {
		position[0] = x;
		position[1] = y;
		position[2] = z;
		position[3] = w;
	}
};

#endif //LIGHT_STRUCT_H
